<?php
$shop = new Shop();
$shop->checkUser();//检查用户合法性，防止攻击

if(isset($_POST['del'])){
	$sta = $shop->updateOrder(array('status' => 7),'orders_id',$_POST['del']);
	echo $sta;
}

$order = $shop->getOrderByUser();
//var_dump($order);
?>